<?php
// $Id: views-ui-edit-item.tpl.php,v 1.9 2008/08/08 16:57:44 merlinofchaos Exp $
/**
 * @file views-ui-edit-item.tpl.php
 *
 * This template handles the printing of fields/filters/sort criteria/arguments or relationships.
 */
?>
<?php print $edit; ?>
<div class="mewdkp-section-title<?php
  if ($overridden) {
    print ' overridden';
  }
  if ($defaulted) {
    print ' defaulted';
  }
  ?>">
  <?php print $item_help_icon; ?>
  <?php print $title; ?>
</div>

<div class="mewdkp-section-content<?php
  if ($overridden) {
    print ' overridden';
  }
  if ($defaulted) {
    print ' defaulted';
  }
  ?>">
  <?php if (empty($attendance)): ?>
    <div><?php print t('No attendance records exist'); ?></div>
  <?php else: ?>
    <?php foreach ($attendance as $uid => $player): ?>
    	<div class="mewdkp-ui-playercell">
				<?php print $player['icon']; ?>
         <?php print $player['link']; ?>
    	</div>
    <?php endforeach; ?>
    <div style="clear:both"></div>
  <?php endif; ?>
</div>
